package com.synergy.stockflow.procure.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.synergy.stockflow.model.Result;
import com.synergy.stockflow.procure.entity.PurchaseOrder;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.synergy.stockflow.procure.mapper.AcceptanceOnArrivalMapper;
import com.synergy.stockflow.procure.entity.AcceptanceOnArrival;
import com.synergy.stockflow.procure.service.AcceptanceOnArrivalService;
@Service
public class AcceptanceOnArrivalServiceImpl extends ServiceImpl<AcceptanceOnArrivalMapper, AcceptanceOnArrival> implements AcceptanceOnArrivalService{

    @Override
    public List<AcceptanceOnArrival> selectAll(Page<AcceptanceOnArrival> page, String acceptanceOnArrivalId, String acceptanceOnArrivalPurchaseOrderId, String acceptanceOnArrivalWarehouseId, String acceptanceOnArrivalInboundBatches, String acceptanceOnArrivalEmployeeId, String acceptanceOnArrivalEligibility, String acceptanceOnArrivalStorage, String acceptanceOnArrivalInboundTime, String acceptanceOnArrivalWarehousingClerk) {
        List<AcceptanceOnArrival> acceptanceOnArrivals = baseMapper.selectAll(page, acceptanceOnArrivalId, acceptanceOnArrivalPurchaseOrderId, acceptanceOnArrivalWarehouseId, acceptanceOnArrivalInboundBatches, acceptanceOnArrivalEmployeeId, acceptanceOnArrivalEligibility, acceptanceOnArrivalStorage, acceptanceOnArrivalInboundTime, acceptanceOnArrivalWarehousingClerk);
        return acceptanceOnArrivals;
    }

    @Override
    public List<AcceptanceOnArrival> selectT(String acceptanceOnArrivalPurchaseOrderId) {
        List<AcceptanceOnArrival> acceptanceOnArrivals = baseMapper.selectT(acceptanceOnArrivalPurchaseOrderId);
        return acceptanceOnArrivals;
    }

    @Override
    public List<AcceptanceOnArrival> isRuku(String acceptanceOnArrivalPurchaseOrderId) {
        List<AcceptanceOnArrival> ruku = baseMapper.isRuku(acceptanceOnArrivalPurchaseOrderId);
        return ruku;
    }
}
